<#-- 美美首页-->
<@front.html title="美美网">
    <div class="banner">
      <div class="body">
        <div class=Slide>
          <ul class=slideImages>
          	<#list infoPage.result as cover>
            	<li id="Slide_img_${cover_index+1}" <#if cover_index!=1>style="DISPLAY: none"</#if> > 
            		<a title="Vog" href="${base}/info!execute?id=${(cover.id?c)!}" target=_blank> 
            			<img src="${(cover.cover)!}" width="666"  height="394" /> 
            		</a> 
            	</li>
            </#list>
          </ul>
          <div class=hot>
            <ul>
              <#list infoPage.result as cover>
              <li class=r id="Slide_tit_${cover_index+1}" onmouseover=FocusSlide(${cover_index+1});SetNum(${cover_index+1});> 
              			<span class="tu"> <img style="CURSOR: pointer" height=38 src="${(cover.cover)!}" width=50 border=0 /> </span> 
              			<span><div class="badfds"> ${(cover.title)!} </div>
                			  <font >${(cover.context?html)!}</font> 
                		</span> 
               </li>                
              </#list>

            </ul>
			
          </div>
		  
        </div>
        <script type=text/javascript>var sNum=1; var nNum='${infoPage.result?size}';var Sec=2000; var S_id;function FocusSlide(v){var i;for(i=1;i<=nNum;i++){eval("document.getElementById(\"Slide_tit_"+i+"\").className=\"g\"");eval("document.getElementById(\"Slide_img_"+i+"\").style.display=\"none\"");}eval("document.getElementById(\"Slide_tit_"+v+"\").className=\"r\"");eval("document.getElementById(\"Slide_img_"+v+"\").style.display=\"\"");SetNum(v+1);clearTimeout(S_id);S_id = setTimeout("FocusSlide(sNum)",Sec);}function SetNum(v){sNum=v;if(sNum>nNum) sNum=1;}S_id = setTimeout("FocusSlide(sNum)",Sec);</script>
		
      </div>
      <div class="clear"></div>

    </div>
    <div class="AD">
    	<div class="video">
        	 <div class="title"><img src="${base}/images/video_title.gif" /></div>
        	 
             <div class="window">
             	<#if topViedo??>
             		<a href="${base}/space/show!detail?domain=${(topViedo.space.domain)!}&id=${(topViedo.id?c)!}"><img src="${(topViedo.cover)!}" width="350px" height="180px"/>
             		</a>
             	<#else>
             		<img src="${base}/images/temp/video_pic.jpg" />
             	</#if>
             </div>
             	
             <ul>
             	<#if (news)??>
             	<#list news as news>
             	<li><span>${(news.publishDate?string('MM/dd'))!}</span><a href="${base}/news!show?id=${(news.id?c)}" target="_blank">${(news.title)!}</a></li>
             	</#list>
             	</#if>
             </ul>
        </div>
        <div class="pub">
        	<div class="title" style="margin-top:0px;"><img src="${base}/images/pub_title1.gif" /></div>
            <div class="pic"><img src="${base}/images/temp/pub_img1.jpg" /></div>
            <div class="title"><img src="${base}/images/pub_title2.gif" /></div>
            <div class="pic"><img src="${base}/images/temp/pub_img2.jpg" /></div>
        </div>
        <div class="car"><img src="${base}/images/temp/car_pic.jpg" /></div>
        <div class=" clear"></div>
    </div>
    <#-- 招募-->
    <div class="AD">
    	<@user.adv code="panglong"/>
    	<#if adv??>
    		${(adv.content)!}
    	</#if>
    	<#--<a href="http://mall.hilizi.com/shopping/" target="_blank">
    		<img src="${base}/images/temp/ad01.gif" title="广告"/>
    	</a>-->
    </div>
    
    <div class="group">
    	<div class="group_top">
        	<div class="subtop">
            	<div class="title"><img src="${base}/images/group_title1.gif" /><span>MEYMEY Entertainment  </span></div>
                <div class="more"><img src="${base}/images/more.gif" /></div>
            </div>
        </div>
        <div class="groupbody">
        
        	<#if (manPage.result)??>
        	<#list manPage.result as man>
            <div class="inner">
                <div class="innerImg">
                	<#if (man.avatar)??>
                		<a href="${base}/space/?domain=${(man.loginName)!}" target="_blank">
            				<img src="${(man.avatar)!}"  width="152px" height="114px"/>
            			</a>
            		<#else>
            			<a href="${base}/space/?domain=${(man.loginName)!}" target="_blank">
            				<img src="${base}/images/temp/group_img.jpg"/>
            			</a>
            		</#if>
                </div>
                <div class="innerDescription">
                    <div class="Iname">
                        <img src="${base}/images/gourp_ico3.gif" />
                        <a href="${base}/space/?domain=${(man.loginName)!}" target="_blank">${(man.loginName)!}</a>
                    </div>
                    <div class="character">
                        <b>VIP</b>
                        <span>${(man.vocationChinese)!}</span>
                    </div>
                </div>
                <div class="innerClike">
                    <span title="点击量"><img src="${base}/images/gourp_ico1.gif" />${(man.visitCount)!}</span>
                    <#--<span title="投票数"><img src="${base}/images/gourp_ico2.gif" />32</span>-->
                </div>
            </div>
            </#list>
            </#if>

            <div class="clear"></div>
        </div>
    </div>
    
    <#-- 美美歌手-->
    <div class="singer">
    	<div class="singer_top">
        	<div class="title">
            	<img src="${base}/images/group_title3.gif" />
                <span>MEYMEY Protagonist</span>
            </div>
        </div>
        <div class="singer_body">
        	<div class="left"><a href="#"><img src="${base}/images/btn_left.gif" /></a></div>
            <ul>
            	<#if (memberPage.result)??>
            	<#list memberPage.result as singer>
            		<li>
            			<a href="${base}/space/?domain=${(singer.loginName)!}" target="_blank">
            				<#if (singer.avatar)??>
            					<img src="${(singer.avatar)!}" width="152px" height="198px"/>
            				<#else>
            					<img src="${base}/images/temp/singer.jpg"/>
            				</#if>
            				
            			</a>
            		</li>
            	</#list>
            	</#if>
            </ul>
            <div class="right"><a href="#"><img src="${base}/images/btn_right.gif" /></a></div>
        </div>
        <div class=" clear"></div>
    </div>
    
    <#-- 活动-->
    <div class="AD">
	    <@user.adv code="darena"/>
    	<#if adv??>
    		${(adv.content)!}
    	</#if>
    </div>
    
    
    <#-- 美美 视觉-->
    <div class="group">
    	<div class="group_top">
        	<div class="subtop">
            	<div class="title"><img src="${base}/images/group_title2.gif" /><span>MEYMEY Visual  </span></div>
                <div class="more"><img src="${base}/images/more.gif" /></div>
            </div>
        </div>

        <div class="groupbody">
        	<#if (showPage.result)??>
      		<#list showPage.result as show>
            <div class="inner">
                <div class="innerImg">
                	<#if (show.cover)??>
                		<a href="${base}/space/show!detail?domain=${(show.space.domain)!}&id=${(show.id?c)!}" title="${(show.title)!}">
                			<img src="${(show.cover)!}" width="152px" height="114px"/>
                		</a>
                	<#else>
                		<a href="${base}/space/show!detail?domain=${(show.space.domain)!}&id=${(show.id?c)!}" title="${(show.title)!}">
                			<img src="${base}/images/temp/group_img.jpg" />
                		</a>
                	</#if>
                </div>
                <div class="innerDescription">
                    <div class="Iname">
                        <img src="${base}/images/gourp_ico3.gif" />
                        <a href="${base}/space/show!detail?domain=${(show.space.domain)!}&id=${(show.id?c)!}">${(show.title?right_pad(8)?substring(0,8))!}</a>
                    </div>
                    <div class="character">
                        <b>VIP</b>
                        <span> <a href="${base}/space/?domain=${(show.space.domain)!}">${(show.space.user.name?right_pad(8)?substring(0,8))!}</a></span>
                    </div>
                </div>
                <div class="innerClike">
                    <span title="点击量"><img src="${base}/images/gourp_ico1.gif" />${(show.hit)!} </span>
                    <span title="收藏数"><img src="${base}/images/gourp_ico2.gif" />${(show.favoriteCount)!}</span>
                </div>
            </div>
            </#list>
        	</#if>
            <div class="clear"></div>
        </div>

    </div>
    <script type="text/javascript" src="${statics}/plugins/jquery.flashSlider1.0/jquery.flashSlider-1.0.min.js"></script>
	<link rel="stylesheet" href="${statics}/plugins/jquery.flashSlider1.0/css/jquery.flashSlider.css" type="text/css" media="screen" />
    <script>
    	$(document).ready(function() {
            $("#slider").flashSlider();
        });
    </script>
</@front.html>


